# 1 "arch/mem_init.c"
# 1 "E:\\APT_3RTD\\Tuya_AC_3RTD\\Source//"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "arch/mem_init.c"
# 10 "arch/mem_init.c"
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 1 3 4
# 12 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 3 4
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\features.h" 1 3 4
# 13 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 2 3 4

# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 1 3 4
# 216 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 3 4

# 216 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 3 4
typedef unsigned int size_t;
# 15 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 2 3 4
# 25 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 3 4
extern void * memcpy( void *, const void *, size_t );
extern void * memmove( void *, const void *, size_t );
extern char * strcpy( char *, const char * );
extern char * strncpy( char *, const char *, size_t );


extern char * strcat( char *, const char * );
extern char * strncat( char *, const char *, size_t );


extern int memcmp( const void *, const void *, size_t );
extern int strcmp( const char *, const char * );
extern int strcoll( const char *, const char * );
extern int strncmp( const char *, const char *, size_t );
extern size_t strxfrm( char *, const char *, size_t );


extern void * memchr( const void *, int, size_t );
extern char * strchr( const char *, int );
extern size_t strcspn( const char *, const char * );
extern char * strpbrk( const char *, const char * );
extern char * strrchr( const char *, int );
extern size_t strspn( const char *, const char * );
extern char * strstr( const char *, const char * );
extern char * strtok( char *, const char * );


extern void * memset(void * buffer, int c, size_t count);
extern char * strerror(int errnum);
extern size_t strlen( const char * );





# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 1 3 4
# 13 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 3 4
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\serf\\linux_errno.h" 1 3 4
# 11 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\serf\\linux_errno.h" 3 4
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 1 3 4
# 12 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\serf\\linux_errno.h" 2 3 4
# 14 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 2 3 4
# 22 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 3 4
extern int errno;
# 34 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\errno.h" 3 4
typedef int errno_t;
# 61 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 2 3 4
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\stddef.h" 1 3 4
# 9 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\stddef.h" 3 4
# 1 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 1 3 4
# 149 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 3 4
typedef int ptrdiff_t;
# 328 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 3 4
typedef long int wchar_t;
# 426 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\lib\\gcc\\csky-elfabiv2\\6.3.0\\include\\stddef.h" 3 4
typedef struct {
  long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
  long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
} max_align_t;
# 10 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\stddef.h" 2 3 4
# 24 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\stddef.h" 3 4
typedef size_t rsize_t;
# 62 "d:\\c-sky\\cdkrepo\\toolchain\\ckv2elfminilib\\v3.10.32\\r\\csky-elfabiv2\\sys-include\\string.h" 2 3 4

extern errno_t memcpy_s(void *__restrict dest, rsize_t dmax,
                        const void *__restrict src, rsize_t slen);
extern errno_t memmove_s(void *dest, rsize_t dmax, const void *src,
                         rsize_t slen);
extern errno_t memcmp_s(const void *dest, rsize_t dmax, const void *src,
                        rsize_t slen, int *diff);
extern errno_t memset_s(void *dest, rsize_t dmax, int value, rsize_t n);
# 11 "arch/mem_init.c" 2


# 12 "arch/mem_init.c"
extern char _end_rodata[];
extern char _start_data[];
extern char _end_data[];

extern char _bss_start[];
extern char _ebss[];


void __main( void )
{

  char *dst = _start_data;
  char *src = _end_rodata;





  if( _start_data != _end_rodata ) {

    memcpy( dst, src, (_end_data - _start_data));
  }



  if( _ebss - _bss_start ) {

    memset( _bss_start, 0x00, ( _ebss - _bss_start ));
  }


}
